package com.srb.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @Author 宋伟宁
 * @Date 2024/2/29
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BusinessException extends RuntimeException{
   private Integer code;
   private String message;

}
